<#if Session["currentUser"]?exists>
    <#assign currentUser = Session["currentUser"]>
</#if>
<div class="header_first">
    <div class="header_first_in">
        <div class="header_first_left">
            <div class="yk_app"><a href="#">粤科众包APP</a></div>
            <span class="line"></span>
            <div class="enter_need"><a href="#">进入需求方版</a></div>
            <div class="clear_both"></div>
        </div>
        <div class="header_first_right">
            <div class="message">
                <a href="#">消息</a>
            </div>
            <div class="specialist">
                <a href="#">专家认证</a>
            </div>
            <span class="line"></span>
            <div class="user">
                <div class="user_name">
                    <span class="user_name_main">hr@yk-zbdsafgaewa</span>
                    <span class="triangle"></span>
                </div>
            </div>
            <div class="clear_both"></div>
        </div>
        <div class="clear_both"></div>
    </div>
</div>
<div class="header">
    <div class="header_in">
        <div class="header_logo">
            <h1></h1>
            <a href="/"><img src="/images/index_log.jpg" /></a>
        </div>
        <div class="header_nav">
            <ul>
                <li><a href="model_news_list.html">前沿资讯</a></li>
                <li><a href="model_problem_list.html">互动问答</a></li>
                <li><a href="model_personage_center.html">帮助中心</a></li>
            </ul>
        </div>
        <div class="header_info">
            <div class="header_info_find"><a href="#">寻找合作伙伴</a></div>
            <#if currentUser?exists>
                <div class="header_greet">
                    ${currentUser.nickname}，您好!
                </div>
                <div class="header_exit">
                    <a href="/project/myproject?userId=currentUser.userId">我的项目</a>|
                    <a href="javascript:;" onclick="exit()">退出</a>
                </div>
            <#else>
                <div class="header_register">
                    <a href="/user/tologin">登录</a>|
                    <a href="/user/toregister">注册</a>
                </div>
            </#if>
            <div class="header_become">
                <a href="#">成为我们的专家</a>
            </div>
        </div>
        <div class="clear_both"></div>
    </div>
</div>
